package happy;

import a.A;
import a.B;

public class Main {

	public static void main(String[] args) {
		A a = new A( 7 );
		B b = new B( 8, 21 );
		System.out.println(" a.p is " + a.p);
//		System.out.println(" a.q is " + a.q);
//		System.out.println(" a.r is " + a.r);
		System.out.println(" a.s is " + a.getS());
		System.out.println(" b.p is " + b.p);
//		System.out.println(" b.q is " + b.q);
//		System.out.println(" b.r is " + b.r);
		System.out.println(" b.s is " + b.getS());
	}

}
